<%@page import="tx.bj12320.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>

<rapid:override name="head">
<link rel="stylesheet" type="text/css" href="<c:url value="/widgets/jquery-easyui/themes/default/easyui.css"/>">
	<link rel="stylesheet" type="text/css" href="<c:url value="/widgets/jquery-easyui/themes/icon.css"/>">
	<script type="text/javascript" src="<c:url value="/widgets/jquery-easyui/jquery.easyui.min.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/widgets/jquery-easyui/locale/easyui-lang-zh_CN.js"/>"></script>
		<script type="text/javascript" src="<c:url value="/widgets/jquery-easyui/easyloader.js"/>"></script>
	<link rel="stylesheet" href="${ctx }/scripts/jquery-ui/themes/base/jquery.ui.all.css">
	<script src="${ctx }/scripts/jquery-ui/ui/jquery.ui.core.js"></script>
	<script src="${ctx }/scripts/jquery-ui/ui/jquery.ui.widget.js"></script>
	<script src="${ctx }/scripts/jquery-ui/ui/jquery.ui.position.js"></script>
	<script src="${ctx }/scripts/jquery-ui/ui/jquery.ui.autocomplete.js"></script>
		<style>
	.ui-autocomplete-loading { background: white url('${ctx }/images/ui-anim_basic_16x16.gif') right center no-repeat; }
	</style>

</rapid:override>

<rapid:override name="content">
<div align="center">
<div id="tabs" style="width:800px;height:360px;" class="easyui-tabs">
<div title="年报"" style="padding:20px;" icon="icon-search">
<form id="yearForm" name="yearForm" action="<c:url value="/pages/TszbProcessInfo/tszbProcessInfoList.do"/>" method="post" style="display: inline;" >
工单类型：<s:select list="#{'TSXTD':'投诉协调单','TSWXCGZD':'投诉未形成告知单','JYSLD':'建议受理单'}"  key="workOrderType" lable="工单类型" listKey="key" listValue="value" theme="simple"  />
年度：<input value="${share_current_request_date}" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" id="procStartTimeBegin" name="procStartTimeBegin"   class="required" />
<input id="submitButtonYear" name="submitButtonYear" type="submit" class="stdButton" style="width:80px" value="统计" onclick="getReferenceForm(this).action='${ctx}/pages/TszbProcessInfo/reportWorkOrderDetailYear.do'"/>

</form>
</div>
<div title="月报"" style="padding:20px;" icon="icon-search">
<form id="yearForm" name="yearForm" action="<c:url value="/pages/TszbProcessInfo/tszbProcessInfoList.do"/>" method="post" style="display: inline;" >
工单类型：<s:select list="#{'TSXTD':'投诉协调单','TSWXCGZD':'投诉未形成告知单','JYSLD':'建议受理单'}"  key="workOrderType" lable="工单类型" listKey="key" listValue="value" theme="simple"  />
开始日期：<input value="" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" id="procStartTimeBegin" name="procStartTimeBegin"   class="required" />
结束日期：<input value="" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" id="procStartTimeEnd" name="procStartTimeEnd"   class="required" />
<input id="submitButtonMonth" name="submitButtonMonth" type="submit" class="stdButton" style="width:80px" value="统计" onclick="getReferenceForm(this).action='${ctx}/pages/TszbProcessInfo/reportWorkOrderDetailMonth.do'"/>

</form>
</div>
<div title="日报"" style="padding:20px;" icon="icon-search">
<form id="yearForm" name="yearForm" action="<c:url value="/pages/TszbProcessInfo/tszbProcessInfoList.do"/>" method="post" style="display: inline;" >
工单类型：<s:select list="#{'TSXTD':'投诉协调单','TSWXCGZD':'投诉未形成告知单','JYSLD':'建议受理单'}"  key="workOrderType" lable="工单类型" listKey="key" listValue="value" theme="simple"  />
开始日期：<input value="" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:00:00'})" id="procStartTimeBegin" name="procStartTimeBegin"  class="required"  />
结束日期：<input value="" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:00:00'})" id="procStartTimeEnd" name="procStartTimeEnd"  class="required"  />
<input id="submitButtonDate" name="submitButtonDate" type="submit" class="stdButton" style="width:80px" value="统计" onclick="getReferenceForm(this).action='${ctx}/pages/TszbProcessInfo/reportWorkOrderDetailDate.do'"/>

</form>
</div>
</div>
</div>
<script>
		new Validation(document.forms[0],{onSubmit:true,onFormValidate : function(result,form) {
			var finalResult = result;
			//return disableSubmit(finalResult,'submitButtonYear');
			return finalResult;
		}});
		new Validation(document.forms[1],{onSubmit:true,onFormValidate : function(result,form) {
			var finalResult = result;
			//return disableSubmit(finalResult,'submitButtonMonth');
			return finalResult;
		}});
		new Validation(document.forms[2],{onSubmit:true,onFormValidate : function(result,form) {
			var finalResult = result;
			//return disableSubmit(finalResult,'submitButtonDate');
			return finalResult;
		}});
</script>
</rapid:override>

<%@ include file="base.jsp" %>